#!/usr/bin/env python3
"""
脚本名称：ch15_exe.py
功能描述： 读取文件
作者：Gavin
创建日期：2022-05-06
版本：1.0
依赖库：无
使用方法： python ch15_exe.py test.txt
"""

from sys import argv

script, filename = argv

txt = open(filename)

print("Here's your file %r:" % filename)
print(txt.read())
print("Type the filename again:")

file_again = input("> ")
txt_again = open(file_again)

print(txt_again.read())
